<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<base href="https://sams.nvv-online.de:443/SamsNvv/" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="/SamsNvv/a4j/g/3_3_3.Final/org/ajax4jsf/framework.pack.js"
	type="text/javascript"></script>
<script src="/SamsNvv/a4j/g/3_3_3.Final/org/richfaces/ui.pack.js"
	type="text/javascript"></script>
<link class="component"
	href="/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHbdnRLUujyGdIAFdEEQQ__"
	rel="stylesheet" type="text/css" />
<link class="component"
	href="/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHbdnRLUujyGdIAFdEEQQ__"
	media="rich-extended-skinning" rel="stylesheet" type="text/css" />
<link class="component"
	href="/a4j/s/3_3_3.Final/org/richfaces/skin.xcss/DATB/eAHbdnRLUujyGdIAFdEEQQ__"
	rel="stylesheet" type="text/css" />
<script id="org.ajax4jsf.queue_script" type="text/javascript">
	if (typeof A4J != 'undefined') {
		if (A4J.AJAX) {
			with (A4J.AJAX) {
				if (!EventQueue.getQueue('org.richfaces.queue.global')) {
					EventQueue.addQueue(new EventQueue(
							'org.richfaces.queue.global', null, null))
				}
				;
			}
		}
	};
</script>
<link class="component"
	href="/a4j/s/3_3_3.FinalMETA-INF/skins/darkX.xcss/DATB/eAHbdnRLUujyGdIAFdEEQQ__"
	rel="stylesheet" type="text/css" />
<link class="component"
	href="/a4j/s/3_3_3.FinalMETA-INF/skins/darkXExt.xcss/DATB/eAHbdnRLUujyGdIAFdEEQQ__"
	media="rich-extended-skinning" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	window.RICH_FACES_EXTENDED_SKINNING_ON = true;
</script>
<script src="/a4j/g/3_3_3.Finaljquery.js" type="text/javascript"></script>
<script
	src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC71si7EErdcCtMciV6fmHHcuZYXacSRqs&amp;sensor=false"
	type="text/javascript"></script>
<link rel="stylesheet" type="text/css"
	href="css/sams.css?e353c85debfae8480a7f3dcac4dd108377beab49" />
<link rel="stylesheet" type="text/css"
	href="css/ma.css?e353c85debfae8480a7f3dcac4dd108377beab49" />
<!--[if IE]>
        <link rel="stylesheet" type="text/css" href="css/sams_iefixes.css" />
              <link rel="stylesheet" type="text/css" href="css/ma_iefixes.css" />
            <![endif]-->
<title>Grundschule Wilstedt</title>
<link rel="shortcut icon" href="images/favicon.ico" />
<?xml version="1.0" encoding="UTF-8"?>


<script type="text/javascript" src="js/sams.js"></script>
<form id="keepAlivePollForm" name="keepAlivePollForm" method="post"
	action="/popup/location/locationDetails.xhtml">
	<span style="display: none;" id="keepAlivePollForm:j_id13"><script
			type="text/javascript">
		A4J.AJAX.Poll('keepAlivePollForm', {
			'pollId' : 'keepAlivePollForm:j_id13',
			'similarityGroupingId' : 'keepAlivePollForm:j_id13',
			'parameters' : {
				'keepAlivePollForm:j_id13' : 'keepAlivePollForm:j_id13',
				'ajaxSingle' : 'keepAlivePollForm:j_id13'
			},
			'pollinterval' : 1190000,
			'eventsQueue' : 'keepAlivePollQueue',
			'containerId' : 'j_id12',
			'actionUrl' : '/popup/location/locationDetails.xhtml'
		});
	</script></span><input type="hidden" autocomplete="off" name="keepAlivePollForm"
		value="keepAlivePollForm" /><input type="hidden" autocomplete="off"
		name="autoScroll" value="" /><input type="hidden" autocomplete="off"
		name="keepAlivePollForm:j_idcl" value="" /><input type="hidden"
		autocomplete="off" name="keepAlivePollForm:_link_hidden_" value="" />
	<script type="text/javascript">
		function clear_keepAlivePollForm() {
			_clearJSFFormParameters('keepAlivePollForm', '', [
					'keepAlivePollForm:j_idcl',
					'keepAlivePollForm:_link_hidden_' ]);
		}
		function clearFormHiddenParams_keepAlivePollForm() {
			clear_keepAlivePollForm();
		}
		function clearFormHiddenParams_keepAlivePollForm() {
			clear_keepAlivePollForm();
		}
		clear_keepAlivePollForm();
	</script>
	<input type="hidden" name="javax.faces.ViewState"
		id="javax.faces.ViewState" value="j_id12" autocomplete="off" />
</form>

<script type="text/javascript">
	//<![CDATA[
	// set some values from the application context
	var messages = new Object();
	messages.defaultConfirm = "Sind Sie sicher?";
	messages.route_finder = "Routenplaner";
	//]]>
</script>
</head>

<body id="samsPopupBody">

	<table class="popupHeader">
		<tr>
			<td>
				<h1>Niedersächsischer Volleyball-Verband e.V.</h1>
			</td>
			<td>
				<h2>Grundschule Wilstedt</h2>
			</td>
		</tr>
	</table>
	<div class="popupContentContainer">
		<span id="_viewRoot:status"><span id="_viewRoot:status.start"
			style="display: none"><div id="j_id21"
					style="position: fixed; top: 50%; left: 50%; z-index: 10000; border: 3px solid black;">
					<img src="/images/ajax-loader-large.gif" />
				</div></span><span id="_viewRoot:status.stop"></span></span>


		<div class="content">

			<!-- messages as insert to make them removable -->
			<span id="globalErrorPanel"></span>

			<!-- content -->

			<table style="width: 100%">
				<tr>
					<td style="width: 100%">
						<div class="samsContentBox " style="">
							<div class="samsContentBoxHeader">Grundschule Wilstedt</div>
							<div class="samsContentBoxContent">
								<h1>Grundschule Wilstedt</h1>
								<p>
								<p style="white-space: pre-wrap;">Schulstraße 11 27412
									Wilstedt</p>
								</p>
								<div style="clear: both; height: 1px;"></div>
							</div>
						</div>
						<div class="samsContentBox " style="">
							<div class="samsContentBoxHeader">Anmerkungen</div>
							<div class="samsContentBoxContent">
								<p>
									Trib&#252;ne: nein <br />LxBxH (m): 27,00x18,00x6,50
								</p>
								<div style="clear: both; height: 1px;"></div>
							</div>
						</div>
						<div class="samsContentBox " style="">
							<div class="samsContentBoxHeader">Volleyballfelder</div>
							<div class="samsContentBoxContent">
								<p></p>
								<span id="sportsPlaceTable_panel" class="rbDataTableWrapper"><table
										class="rich-table rbDataTable samsDataTable "
										id="sportsPlaceTable" style="width: 100%;" border="0"
										cellpadding="0" cellspacing="5">
										<colgroup span="2"></colgroup>
										<thead class="rich-table-thead">
											<tr class="rich-table-subheader ">
												<th class="rich-table-subheadercell  " scope="col"
													id="sportsPlaceTable:j_id115header"><div
														id="sportsPlaceTable:j_id115header:sortDiv">Sportfläche</div></th>
												<th class="rich-table-subheadercell  " scope="col"
													id="sportsPlaceTable:j_id118header"><div
														id="sportsPlaceTable:j_id118header:sortDiv">Besucherplätze</div></th>
											</tr>
										</thead>
										<tbody id="sportsPlaceTable:tb">
											<tr class="rich-table-row rich-table-firstrow "
												onclick="clickRichRow(this);"
												onmouseover="mouseOverRichRow(this);"
												onmouseout="mouseOutRichRow(this);">
												<td class="rich-table-cell textualTableCell "
													id="sportsPlaceTable:0:j_id115">Zentralfeld</td>
												<td class="rich-table-cell textualTableCell "
													id="sportsPlaceTable:0:j_id118">
													<table>
														<tr>
															<td>Tribünen-Sitzplätze</td>
															<td></td>
														</tr>
														<tr>
															<td>Innenraumbestuhlung</td>
															<td></td>
														</tr>
														<tr>
															<td>Rollstuhlplätze</td>
															<td></td>
														</tr>
														<tr>
															<td>Stehplätze</td>
															<td></td>
														</tr>
														<tr>
															<td style="font-weight: bold;">Gesamtplätze</td>
															<td style="font-weight: bold;">0</td>
														</tr>
													</table>
												</td>
											</tr>
										</tbody>
									</table></span>
								<div style="clear: both; height: 1px;"></div>
							</div>
						</div>

					</td>
					<td>
						<div class="samsContentBox " style="">
							<div class="samsContentBoxHeader">Karte</div>
							<div class="samsContentBoxContent">
								<script language="javascript">
									//<![CDATA[
									// Init map
									function showRoute() {
										var dest_url = "https://maps.google.de/maps?daddr=Schulstraße 11, 27412 Wilstedt, Germany";
										window.open(dest_url, '_blank');
									}
									function locationMapInit() {
										geocoder = new google.maps.Geocoder();
										geocoder
												.geocode(
														{
															'address' : 'Schulstraße 11, 27412 Wilstedt, Germany'
														},
														function(results,
																status) {
															if (status === google.maps.GeocoderStatus.OK) {
																googleMap
																		.setCenter(results[0].geometry.location);
																var marker = new google.maps.Marker(
																		{
																			map : googleMap,
																			position : results[0].geometry.location
																		});
																var infowindow = new google.maps.InfoWindow(
																		{
																			content : '<b>Grundschule Wilstedt</b> <br />Schulstraße 11, 27412 Wilstedt<br /><br /><input type="button" value="Route planen" onClick="showRoute();"/>'
																		});
																infowindow
																		.open(
																				googleMap,
																				marker);
															} else {
																alert("Geocode was not successful for the following reason: "
																		+ status);
															}
														});

									}
									//]]>
								</script>
								<script type="text/javascript">
									var googleMap;
									function initialize() {
										var mapOptions = {
											center : new google.maps.LatLng(
													52.37, 9.72),
											zoom : 8,
											mapTypeId : google.maps.MapTypeId.ROADMAP
										};
										googleMap = new google.maps.Map(
												document
														.getElementById("locationMap"),
												mapOptions);
										locationMapInit();
									}
									window.onload = initialize;
								</script>
								<div class="noFancyLabel samsGoogleMapDiv" id="locationMap"
									style="width: 400; height: 350">test</div>
								<div style="clear: both; height: 1px;"></div>
							</div>
						</div>
					</td>
				</tr>
			</table>
			<p>
				<button class="historyBackButton" onclick="history.back();">zurück</button>
				<button onclick="window.close();">schließen</button>
			</p>
		</div>
	</div>

	<script>
		//<![CDATA[

		function updateLinks() {
			var links = document.getElementsByTagName("a");
			for ( var i = 0; i !== links.length; i++) {
				var l = links[i];
				if (l.href.indexOf("?") > -1) {
					l.href = l.href + "&layout=popup";
				} else {
					l.href = l.href + "?layout=popup";
				}
			}
		}

		function updateForms() {
			var forms = document.getElementsByTagName("form");
			var hiddenField = document.createElement("input");
			hiddenField.setAttribute("type", "hidden");
			hiddenField.setAttribute("name", "layout");
			//hiddenField.setAttribute("id", "hiddenName");
			hiddenField.setAttribute("value", "popup");
			for ( var i = 0; i !== forms.length; i++) {
				var f = forms[i];

				f.appendChild(hiddenField);
			}
		}

		updateLinks();
		updateForms();

		//]]>
	</script>

</body>
</html>